Skip to content

fix(qdrant): migrate Qdrant from deprecated decorator.#963

Merged
alexanderankin merged 3 commits intotestcontainers:mainfrom
ethanlee928:main
Apr 3, 2026
Merged

fix(qdrant): migrate Qdrant from deprecated decorator.#963
alexanderankin merged 3 commits intotestcontainers:mainfrom
ethanlee928:main

Conversation

@ethanlee928
Copy link
Copy Markdown
Contributor

Summary

Hello, this PR addresses the deprecation warning coming from QdrantContainer.

The container currently uses the deprecated @wait_container_is_ready() decorator, which is scheduled for removal.
This change migrates to the recommended LogMessageWaitStrategy.

Additionally, the Qdrant Docker image version has been updated to match the Qdrant client version, resolving the following warning: UserWarning: Qdrant client version 1.16.2 is incompatible with server version 1.13.5.

Testing

All qdrant test cases passed:

poetry run pytest modules/qdrant/tests/ -v

============== 4 passed, 3 warnings in 3.07s ==============

The remaining warnings are related to UserWarning: Api key is used with an insecure connection., which is out of scope for this PR.

Thank you for reviewing!

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.81%. Comparing base (d48115d) to head (6d0892f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #963   +/-   ##
=======================================
  Coverage   79.81%   79.81%           
=======================================
  Files          15       15           
  Lines        1303     1303           
  Branches      162      162           
=======================================
  Hits         1040     1040           
  Misses        216      216           
  Partials       47       47           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alexanderankin alexanderankin merged commit 407f798 into testcontainers:main Apr 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants